home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / utilities / makemake1.02.lha / makemake.doc < prev    next >
Encoding:
Text File  |  1995-01-21  |  2.8 KB  |  69 lines

  1.                    MakeMake
  2.                   Makefile compiler
  3.                 Version 1.02
  4.  
  5. Makemake put simply is a makefile generator. Given a list of files to compile,
  6. makemake generates a GNU make compatible makefile. To invoke makemake, type
  7. makemake followed by a set of files to compile. Eg. makemake *.c will invoke
  8. makemake with all the .c files in the current directory.
  9.  
  10. After invoking makemake you are asked to answer a couple of questions. First is
  11. the compiler name. Type in the name of the compiler which will use your files
  12. followed by ENTER. It is assumed the same  compiler will be used for linking.
  13. Gcc is an example of a compiler which will invoke the compiler and linker for
  14. you.
  15.  
  16. Next is the compiler options. Type in the switches the compiler uses followed
  17. by ENTER.
  18.  
  19. Following the compilers options is the linking options. Type in the linking
  20. parameters followed by ENTER.
  21.  
  22. Lastly is the output filename. Type in the name of the executable that will
  23. be produced followed by ENTER.
  24.  
  25. After entering the required data, makemake will search files specified on the
  26. command line for any dependencies. For C/C++, dependencies are found when
  27. you have something similar in your program:
  28.  
  29. #include "foo.h"
  30.  
  31. usually #including files encloses in '<' and '>' means that those files are
  32. in the standard include directories and are usually not modified.
  33.  
  34. If you type makemake without any options, the following will appear. The only
  35. argument(s) that has to appear are the list of files. All other switches are
  36. optional.
  37.  
  38. makemake: a Makefile compiler. Version 1.02
  39. (C)1994 by Jeff Shepherd
  40. COMMAND LINE:
  41. makemake [-f makefilename] [-s] [-I directory] [-C|-C++] files.[c|cc] ...
  42. -f output results to makefilename. 'Makefile' is the default name
  43. -s shortcut. Don't compile .o files. Used when you have only one file.
  44.    Default FALSE
  45.    If you use this option, put the compiler options in the linker options
  46. -I specifies other directories to search for dependency files
  47.    the default directory is the current directory.
  48. -[C|-C++] specifies compiling of C++ or C files. Default -C.files.c,cc] a
  49. list of .c or .cc files.
  50.  
  51. eg. makemake *.cc will supply all the C++ files in this directory.
  52.  
  53.  
  54. About the source
  55. ----------------
  56. Makemake was produced on a 4000/030 with 6M of RAM using gcc 2.6.3. It has been
  57. successfully compiled and tested on a SunSparc running SunOS 4.1.3 and a machine
  58. running Ultrix so makemake is quite portable.
  59.  
  60. Please feel free to contact myself concerning makemake or my other program Show
  61. which is on Aminet. Currently I am working on a C++ intuition class. (A little
  62. preview. I have found a way to produce relatively sized Gadtools Gadgets!!).
  63. My email address is jsshephe@undergrad.math.uwaterloo.ca . I read my mail often
  64. so any mail will be promptly read and replied to if necessary.
  65.  
  66. Look for my upcoming program to aminet in the coming months!!
  67.  
  68.  
  69.